//
//  LGPatientWeightChart.h
//  HeartDiseaseManage
//
//  Created by 1234 on 2023/3/6.
//  呼吸训练统计图

#import <UIKit/UIKit.h>
#import "LGChartDetailAlertView.h"
NS_ASSUME_NONNULL_BEGIN

@protocol LGBreathRecordChartDelegate <NSObject>

-(void)showAlertView:(NSString *)weight  waistline:(NSString *)waistline  date:(NSString *)dateString  point:(CGPoint)point;

-(void)showWeightAlertView:(NSString *)weight  waistline:(NSString *)waistline  date:(NSString *)dateString  point:(CGPoint)point;

-(void)showAlertView:(NSDictionary *)weightDic  waistlineDic:(NSDictionary *)waistlineDic  date:(NSString *)dateString  point:(CGPoint)point;

-(void)chartViewTouchesBegan;

@end

@interface LGPatientBreathRecordChart : UIView

-(instancetype)initWithType:(NSString *)type frame:(CGRect)frame;
/**   */
@property (nonatomic , assign)id <LGBreathRecordChartDelegate> delegate;
/**   */
@property (nonatomic , strong)LGChartDetailAlertView *alertView;
/**   */
@property (nonatomic , strong)UILabel *titleLabel;
/**   */
@property (nonatomic , strong)NSDictionary *dataDic;

@end

NS_ASSUME_NONNULL_END
